const token ="token"
const refresh_token = 'refresh_token'
export const  setStorageSync = (value)=>{
  wx.setStorageSync(token, value)
}

export const  getStorageSync = ()=>{
  return  wx.getStorageSync(token)
}

export const removeStorageSync =()=>{
    wx.removeStorageSync(token)
}

export const  refreshsetStorageSync = (value)=>{
  wx.setStorageSync(refresh_token, value)
}

export const  refreshgetStorageSync = ()=>{
  return  wx.getStorageSync(refresh_token)
}

export const refreshremoveStorageSync =()=>{
    wx.removeStorageSync(refresh_token)
}